﻿using Microsoft.Phone.Controls;

namespace GTasksPlus.Code
{
    public class LoggedInPage : PhoneApplicationPage
    {
        public static void Logout()
        {
            GTasksSettings.ClearSession();
        }

        public bool IsLoggedIn()
        {
            return GTasksSettings.IsLoggedIn();
        }
    }
}
